<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>文章分类</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<link rel="stylesheet" href="<?php echo base_url() . 'style/index/css' ?>/category.css" />
<?php $this->load->view('public/head.php'); ?>
	
	<div id="main">
		<div class="left">
			<div class="tongy">
				<div class="tg_1">
					<span class="shouye"><a href="">首页</a></span>
					>>
					<h1>网站模板</h1>
				</div>
			</div>
			<?php foreach($article as $key => $val): ?>
			<div class="list">
				<div class="txt">
					<div class="one">
						<p class="title"><a href=""><?php echo $val['title'] ?></a></p>
						<p class="pt">
							发布时间：<?php echo date('Y-m-d H:i:s',$val['time']) ?>
							<span>作者：<?php echo $val['author'] ?></span>
							<span class="f">分类：[<a href=""><?php echo $val['cname'] ?></a>]</span>
						</p>
						<dl>
							<dt><a href=""><img width="176" height="118" src="<?php echo base_url() .$val['thumb'] ?>" alt="" /></a></dt>
							<dd><?php echo $val['info'] ?><span class="yuedu"><a href="">阅读全文>></a></span></dd>
						</dl>
						<div class="clear"></div>
					</div>
				</div>
			</div>
			<?php endforeach; ?>
			<div class="page"><?php if(isset($link)) {echo $link;} ?></div>
		</div>


		<div class="right">
			<div id="left_nav">
				<ul>
					<li class="nav"><a href="">子集分类1</a></li>
					<li class="nav"><a href="">子集分类2</a></li>
					<li class="nav"><a href="">子集分类3</a></li>
					<li class="nav"><a href="">子集分类4</a></li>
				</ul>
				<div class="clear"></div>
			</div>

			<!--标签云开始 -->
			<?php $this->load->view('public/cloud.php'); ?>
			<!--标签云结束 -->

			<!--最新推荐开始-->
			<div id="tuijian">
				<img src="<?php echo base_url() . 'style/index' ?>/images/tuijian.jpg" alt=""  width="300" height="161"/>
				<div id="zx">
					<div class="wz">
						<ul>
							<li><a href="">推荐列表测试推荐列表测试1</a></li>
							<li><a href="">推荐列表测试推荐列表测试2</a></li>
							<li><a href="">推荐列表测试推荐列表测试3</a></li>
							<li><a href="">推荐列表测试推荐列表测试4</a></li>
							<li><a href="">推荐列表测试推荐列表测试5</a></li>
							<li><a href="">推荐列表测试推荐列表测试6</a></li>
						</ul>
					</div>
				</div>
			</div>
			<!--最新推荐结束-->

		</div>
		<div class="clear"></div>
	</div>

    <?php $this->load->view('public/foot.php'); ?>

    </body>
</html>